package com.note.simpleadmin.enu;

/***
 *@ClaseName:OrderStatusEnum
 *
 *@Decription:
 *
 *@Author: xubingbing
 *
 *@Date:2019/2/24 0024 19:24
 */
public enum OrderStatusEnum {
    PENDING_PAY(0, "待付款"),
    PAID(1, "待发货,已付款"),
    DELIVERED(2, "已发货"),
    TRANSACTION_SUCCESS(3,"交易成功"),
    WAITING_EVALUATION(4,"待评价");
    int value;
    String name;
    OrderStatusEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }
    public String getName() {
        return name;
    }
}
